import { BrowserModule } from '@angular/platform-browser';
import { NgModule} from '@angular/core';
import {RouterModule} from "@angular/router";
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { InfiniteScrollModule } from 'angular2-infinite-scroll';
import { KSSwiperModule} from "angular2-swiper";

import { AppComponent } from './app.component';
import {rootRouterConfig} from "./app.routes";
import {Home} from "./home/home";
import {Hall} from "./hall/hall";//竞猜大厅
import {SecondModule} from "./second/second.module";
import {DJComponent} from "./component/DJComponent";

@NgModule({
  declarations: [
    AppComponent,Home,Hall
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    InfiniteScrollModule,
    KSSwiperModule,
    SecondModule,
    DJComponent,
    RouterModule.forRoot(rootRouterConfig)
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
